package com.zd.model;

import org.springframework.web.multipart.MultipartFile;

import java.util.Date;
import java.util.List;

/**
 * 信息发布
 */
public class InfoManage {
    //主键id
    private Long id;
    //标题
    private String title;
    //图片地址
    private String photourl;
    //文件地址
    private String fileurl;
    //企业协议地址List
    private List<String> fileurlList;
    //企业协议地址 多文件上传所用
    private List<MultipartFile> fileUpload;
    //信息发布类型 1信息发布  2政策文件  3校企活动
    private Integer type;
    //入库时间
    private Date entertime;
    //录入用户id
    private Long enteruserid;
    //逻辑删除标识位 1 未删除  0已删除
    private Integer flag;
    //简介
    private String introduction;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getPhotourl() {
        return photourl;
    }

    public void setPhotourl(String photourl) {
        this.photourl = photourl == null ? null : photourl.trim();
    }

    public String getFileurl() {
        return fileurl;
    }

    public void setFileurl(String fileurl) {
        this.fileurl = fileurl == null ? null : fileurl.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getEntertime() {
        return entertime;
    }

    public void setEntertime(Date entertime) {
        this.entertime = entertime;
    }

    public Long getEnteruserid() {
        return enteruserid;
    }

    public void setEnteruserid(Long enteruserid) {
        this.enteruserid = enteruserid;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction == null ? null : introduction.trim();
    }

    public List<String> getFileurlList() {
        return fileurlList;
    }

    public void setFileurlList(List<String> fileurlList) {
        this.fileurlList = fileurlList;
    }

    public List<MultipartFile> getFileUpload() {
        return fileUpload;
    }

    public void setFileUpload(List<MultipartFile> fileUpload) {
        this.fileUpload = fileUpload;
    }
}